<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>glTexStorage2D - OpenGL 4 Reference Pages</title>
    <link rel="stylesheet" type="text/css" href="opengl-man.css"/>
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"/>
    <script type="text/x-mathjax-config">
            MathJax.Hub.Config({
                MathML: {
                    extensions: ["content-mathml.js"]
                },
                tex2jax: {
                    inlineMath: [['$','$'], ['\\(','\\)']]
                }
            });
        </script>
    <script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"/>
  </head>
  <body>
    <header/>
    <div class="refentry" id="glTexStorage2D">
      <div class="titlepage"/>
      <div class="refnamediv">
        <h2>Name</h2>
        <p>glTexStorage2D, glTextureStorage2D — simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture</p>
      </div>
      <div class="refsynopsisdiv">
        <h2>C Specification</h2>
        <div class="funcsynopsis">
          <table style="border: 0; cellspacing: 0; cellpadding: 0;" class="funcprototype-table">
            <tr>
              <td>
                <code class="funcdef">void <strong class="fsfunc">glTexStorage2D</strong>(</code>
              </td>
              <td>GLenum <var class="pdparam">target</var>, </td>
            </tr>
            <tr>
              <td> </td>
              <td>GLsizei <var class="pdparam">levels</var>, </td>
            </tr>
            <tr>
              <td> </td>
              <td>GLenum <var class="pdparam">internalformat</var>, </td>
            </tr>
            <tr>
              <td> </td>
              <td>GLsizei <var class="pdparam">width</var>, </td>
            </tr>
            <tr>
              <td> </td>
              <td>GLsizei <var class="pdparam">height</var><code>)</code>;</td>
            </tr>
          </table>
          <div class="funcprototype-spacer"> </div>
          <table style="border: 0; cellspacing: 0; cellpadding: 0;" class="funcprototype-table">
            <tr>
              <td>
                <code class="funcdef">void <strong class="fsfunc">glTextureStorage2D</strong>(</code>
              </td>
              <td>GLuint <var class="pdparam">texture</var>, </td>
            </tr>
            <tr>
              <td> </td>
              <td>GLsizei <var class="pdparam">levels</var>, </td>
            </tr>
            <tr>
              <td> </td>
              <td>GLenum <var class="pdparam">internalformat</var>, </td>
            </tr>
            <tr>
              <td> </td>
              <td>GLsizei <var class="pdparam">width</var>, </td>
            </tr>
            <tr>
              <td> </td>
              <td>GLsizei <var class="pdparam">height</var><code>)</code>;</td>
            </tr>
          </table>
          <div class="funcprototype-spacer"> </div>
        </div>
      </div>
      <div class="refsect1" id="parameters">
        <h2>Parameters</h2>
        <div class="variablelist">
          <dl class="variablelist">
            <dt>
              <span class="term">
                <em class="parameter">
                  <code>target</code>
                </em>
              </span>
            </dt>
            <dd>
              <p>
                    Specifies the target to which the texture object is
                    bound for <code class="function">glTexStorage2D</code>. Must be
                    one of <code class="constant">GL_TEXTURE_2D</code>,
                    <code class="constant">GL_TEXTURE_1D_ARRAY</code>,
                    <code class="constant">GL_TEXTURE_RECTANGLE</code>,
                    <code class="constant">GL_PROXY_TEXTURE_2D</code>,
                    <code class="constant">GL_PROXY_TEXTURE_1D_ARRAY</code>,
                    <code class="constant">GL_PROXY_TEXTURE_RECTANGLE</code>, or
                    <code class="constant">GL_PROXY_TEXTURE_CUBE_MAP</code>.
                </p>
            </dd>
            <dt>
              <span class="term">
                <em class="parameter">
                  <code>texture</code>
                </em>
              </span>
            </dt>
            <dd>
              <p>
                    Specifies the texture object name for
                    <code class="function">glTextureStorage2D</code>. The effective
                    target of <em class="parameter"><code>texture</code></em> must be one of
                    the valid non-proxy <em class="parameter"><code>target</code></em> values
                    above.
                </p>
            </dd>
            <dt>
              <span class="term">
                <em class="parameter">
                  <code>levels</code>
                </em>
              </span>
            </dt>
            <dd>
              <p>
                    Specify the number of texture levels.
                </p>
            </dd>
            <dt>
              <span class="term">
                <em class="parameter">
                  <code>internalformat</code>
                </em>
              </span>
            </dt>
            <dd>
              <p>
                    Specifies the sized internal format to be used to store texture image data.
                </p>
            </dd>
            <dt>
              <span class="term">
                <em class="parameter">
                  <code>width</code>
                </em>
              </span>
            </dt>
            <dd>
              <p>
                    Specifies the width of the texture, in texels.
                </p>
            </dd>
            <dt>
              <span class="term">
                <em class="parameter">
                  <code>height</code>
                </em>
              </span>
            </dt>
            <dd>
              <p>
                    Specifies the height of the texture, in texels.
                </p>
            </dd>
          </dl>
        </div>
      </div>
      <div class="refsect1" id="description">
        <h2>Description</h2>
        <p>
            <code class="function">glTexStorage2D</code> and
            <code class="function">glTextureStorage2D</code> specify the storage
            requirements for all levels
            of a two-dimensional texture or one-dimensional texture array simultaneously. Once a texture is specified with this
            command, the format and dimensions of all levels become immutable unless it is a proxy
            texture. The contents of the image may still be modified, however, its storage requirements
            may not change. Such a texture is referred to as an <span class="emphasis"><em>immutable-format</em></span>
            texture.
        </p>
        <p>
            The behavior of <code class="function">glTexStorage2D</code> depends on the <em class="parameter"><code>target</code></em> parameter.
            When <em class="parameter"><code>target</code></em> is <code class="constant">GL_TEXTURE_2D</code>, <code class="constant">GL_PROXY_TEXTURE_2D</code>,
            <code class="constant">GL_TEXTURE_RECTANGLE</code>, <code class="constant">GL_PROXY_TEXTURE_RECTANGLE</code> or <code class="constant">GL_PROXY_TEXTURE_CUBE_MAP</code>,
            calling <code class="function">glTexStorage2D</code> is equivalent, assuming no errors are generated,
            to executing the following pseudo-code:
        </p>
        <pre class="programlisting">    for (i = 0; i &lt; levels; i++) {
        glTexImage2D(target, i, internalformat, width, height, 0, format, type, NULL);
        width = max(1, (width / 2));
        height = max(1, (height / 2));
    }</pre>
        <p>
            When <em class="parameter"><code>target</code></em> is <code class="constant">GL_TEXTURE_CUBE_MAP</code>, <code class="function">glTexStorage2D</code>
            is equivalent to:
        </p>
        <pre class="programlisting">    for (i = 0; i &lt; levels; i++) {
        for (face in (+X, -X, +Y, -Y, +Z, -Z)) {
            glTexImage2D(face, i, internalformat, width, height, 0, format, type, NULL);
        }
        width = max(1, (width / 2));
        height = max(1, (height / 2));
    }</pre>
        <p>
            When <em class="parameter"><code>target</code></em> is <code class="constant">GL_TEXTURE_1D</code> or <code class="constant">GL_TEXTURE_1D_ARRAY</code>,
            <code class="function">glTexStorage2D</code> is equivalent to:
        </p>
        <pre class="programlisting">    for (i = 0; i &lt; levels; i++) {
        glTexImage2D(target, i, internalformat, width, height, 0, format, type, NULL);
        width = max(1, (width / 2));
    }</pre>
        <p>
            Calling <code class="function">glTextureStorage2D</code> is equivalent to the
            above pseudo-code, where <em class="parameter"><code>target</code></em> is the
            effective target of <em class="parameter"><code>texture</code></em> and it is as
            if <em class="parameter"><code>texture</code></em> were bound to
            <em class="parameter"><code>target</code></em> for the purposes of
            <code class="function">glTexImage2D</code>.
        </p>
        <p>
            Since no texture data is actually provided, the values used in the pseudo-code
            for <em class="parameter"><code>format</code></em> and <em class="parameter"><code>type</code></em> are
            irrelevant and may be considered to be any values that are legal for the
            chosen <em class="parameter"><code>internalformat</code></em> enumerant. <em class="parameter"><code>internalformat</code></em>
            must be one of the sized internal formats given in Table 1 below, one of the sized depth-component
            formats <code class="constant">GL_DEPTH_COMPONENT32F</code>, <code class="constant">GL_DEPTH_COMPONENT24</code>, or
            <code class="constant">GL_DEPTH_COMPONENT16</code>, one of the combined depth-stencil formats,
            <code class="constant">GL_DEPTH32F_STENCIL8</code>, or <code class="constant">GL_DEPTH24_STENCIL8</code>, or the
            stencil-only format, <code class="constant">GL_STENCIL_INDEX8</code>. Upon success,
            the value of <code class="constant">GL_TEXTURE_IMMUTABLE_FORMAT</code> becomes
            <code class="constant">GL_TRUE</code>. The value of <code class="constant">GL_TEXTURE_IMMUTABLE_FORMAT</code>
            may be discovered by calling <a class="citerefentry" href="glGetTexParameter.xhtml"><span class="citerefentry"><span class="refentrytitle">glGetTexParameter</span></span></a>
            with <em class="parameter"><code>pname</code></em> set to <code class="constant">GL_TEXTURE_IMMUTABLE_FORMAT</code>.
            No further changes to the dimensions or format of the texture object may be
            made. Using any command that might alter the dimensions or format of the
            texture object (such as <a class="citerefentry" href="glTexImage2D.xhtml"><span class="citerefentry"><span class="refentrytitle">glTexImage2D</span></span></a> or
            another call to <code class="function">glTexStorage2D</code>) will result in the
            generation of a <code class="constant">GL_INVALID_OPERATION</code> error, even if it
            would not, in fact, alter the dimensions or format of the object.
        </p>
        <p>
            </p>
        <div class="table" id="id-1.6.11.1">
          <div class="table-title">Table 1. Sized Internal Formats</div>
          <div class="table-contents">
            <table style="border-collapse: collapse; border-top: 2px solid ; border-bottom: 2px solid ; border-left: 2px solid ; border-right: 2px solid ; ">
              <colgroup>
                <col style="text-align: left; "/>
                <col style="text-align: left; "/>
                <col style="text-align: center; "/>
                <col style="text-align: center; "/>
                <col style="text-align: center; "/>
                <col style="text-align: center; "/>
                <col style="text-align: center; "/>
              </colgroup>
              <thead>
                <tr>
                  <th style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <span class="bold"><strong>Sized Internal Format</strong></span>
                </th>
                  <th style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <span class="bold"><strong>Base Internal Format</strong></span>
                </th>
                  <th style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <span class="bold"><strong>Red Bits</strong></span>
                </th>
                  <th style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <span class="bold"><strong>Green Bits</strong></span>
                </th>
                  <th style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <span class="bold"><strong>Blue Bits</strong></span>
                </th>
                  <th style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <span class="bold"><strong>Alpha Bits</strong></span>
                </th>
                  <th style="text-align: left; border-bottom: 2px solid ; ">
                    <span class="bold"><strong>Shared Bits</strong></span>
                </th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R8</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RED</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R8_SNORM</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RED</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">s8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R16</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RED</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R16_SNORM</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RED</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">s16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG8</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG8_SNORM</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">s8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">s8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG16</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG16_SNORM</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">s16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">s16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R3_G3_B2</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">3</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">3</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">2</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB4</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">4</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">4</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">4</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB5</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">5</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">5</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">5</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB8</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB8_SNORM</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">s8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">s8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">s8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB10</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">10</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">10</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">10</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB12</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">12</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">12</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">12</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB16_SNORM</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA2</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">2</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">2</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">2</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">2</td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA4</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">4</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">4</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">4</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">4</td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB5_A1</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">5</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">5</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">5</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">1</td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA8</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA8_SNORM</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">s8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">s8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">s8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">s8</td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB10_A2</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">10</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">10</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">10</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">2</td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB10_A2UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui10</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui10</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui10</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui2</td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA12</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">12</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">12</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">12</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">12</td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA16</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">16</td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_SRGB8</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_SRGB8_ALPHA8</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R16F</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RED</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG16F</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB16F</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA16F</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f16</td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R32F</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RED</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG32F</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB32F</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA32F</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f32</td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R11F_G11F_B10F</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f11</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f11</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">f10</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB9_E5</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">9</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">9</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">9</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; ">5</td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R8I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RED</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R8UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RED</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R16I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RED</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R16UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RED</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R32I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RED</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R32UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RED</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG8I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG8UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG16I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG16UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG32I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG32UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB8I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB8UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB16I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB16UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB32I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB32UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA8I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i8</td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA8UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui8</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui8</td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA16I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i16</td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA16UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui16</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">ui16</td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA32I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i32</td>
                  <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">i32</td>
                  <td style="text-align: center; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; ">
                    <code class="constant">GL_RGBA32UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: center; border-right: 2px solid ; ">ui32</td>
                  <td style="text-align: center; border-right: 2px solid ; ">ui32</td>
                  <td style="text-align: center; border-right: 2px solid ; ">ui32</td>
                  <td style="text-align: center; border-right: 2px solid ; ">ui32</td>
                  <td style="text-align: center; "> </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
        <p><br class="table-break"/>
        </p>
      </div>
      <div class="refsect1" id="notes">
        <h2>Notes</h2>
        <p>
            <code class="constant">GL_STENCIL_INDEX8</code> is accepted for <em class="parameter"><code>internalformat</code></em>
            only if the GL version is 4.4 or higher.
        </p>
      </div>
      <div class="refsect1" id="errors">
        <h2>Errors</h2>
        <p>
            <code class="constant">GL_INVALID_OPERATION</code> is generated by
            <code class="function">glTexStorage2D</code> if zero is bound to
            <em class="parameter"><code>target</code></em>.
        </p>
        <p>
            <code class="constant">GL_INVALID_OPERATION</code> is generated by
            <code class="function">glTextureStorage2D</code> if
            <em class="parameter"><code>texture</code></em> is not the name of an existing
            texture object.
        </p>
        <p>
            <code class="constant">GL_INVALID_ENUM</code> is generated if <em class="parameter"><code>internalformat</code></em> is not a
            valid sized internal format.
        </p>
        <p>
            <code class="constant">GL_INVALID_ENUM</code> is generated if
            <em class="parameter"><code>target</code></em> or the effective target of
            <em class="parameter"><code>texture</code></em> is not one of the accepted
            targets described above.
        </p>
        <p>
            <code class="constant">GL_INVALID_VALUE</code> is generated if
            <em class="parameter"><code>width</code></em>, <em class="parameter"><code>height</code></em> or
            <em class="parameter"><code>levels</code></em> are less than 1.
        </p>
        <p>
            <code class="constant">GL_INVALID_OPERATION</code> is generated if <em class="parameter"><code>target</code></em> is <code class="constant">GL_TEXTURE_1D_ARRAY</code>
            or <code class="constant">GL_PROXY_TEXTURE_1D_ARRAY</code> and <em class="parameter"><code>levels</code></em> is greater than
            <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
                  <mml:mrow>
                    <mml:mfenced open="⌊" close="⌋">
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>log</mml:mi>
                          <mml:mn>2</mml:mn>
                        </mml:msub>
                        <mml:mfenced open="(" close=")">
                          <mml:mi>width</mml:mi>
                        </mml:mfenced>
                      </mml:mrow>
                    </mml:mfenced>
                    <mml:mo>+</mml:mo>
                    <mml:mn>1</mml:mn>
                  </mml:mrow>
                </mml:math>.
        </p>
        <p>
            <code class="constant">GL_INVALID_OPERATION</code> is generated if <em class="parameter"><code>target</code></em> is not <code class="constant">GL_TEXTURE_1D_ARRAY</code>
            or <code class="constant">GL_PROXY_TEXTURE_1D_ARRAY</code> and <em class="parameter"><code>levels</code></em> is greater than
            <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
                  <mml:mrow>
                    <mml:mfenced open="⌊" close="⌋">
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>log</mml:mi>
                          <mml:mn>2</mml:mn>
                        </mml:msub>
                        <mml:mfenced open="(" close=")">
                          <mml:mrow>
                            <mml:mi>max</mml:mi>
                            <mml:mfenced open="(" close=")">
                              <mml:mrow>
                                <mml:mi>width</mml:mi>
                                <mml:mo>,</mml:mo>
                                <mml:mtext fontfamily="Times New Roman"> </mml:mtext>
                                <mml:mi>height</mml:mi>
                              </mml:mrow>
                            </mml:mfenced>
                          </mml:mrow>
                        </mml:mfenced>
                      </mml:mrow>
                    </mml:mfenced>
                    <mml:mo>+</mml:mo>
                    <mml:mn>1</mml:mn>
                  </mml:mrow>
                </mml:math>.
        </p>
      </div>
      <div class="refsect1" id="versions">
        <h2>Version Support</h2>
        <div class="informaltable">
          <table style="border-collapse: collapse; border-top: 2px solid ; border-bottom: 2px solid ; border-left: 2px solid ; border-right: 2px solid ; ">
            <colgroup>
              <col style="text-align: left; "/>
              <col style="text-align: center; " class="firstvers"/>
              <col style="text-align: center; "/>
              <col style="text-align: center; "/>
              <col style="text-align: center; "/>
              <col style="text-align: center; "/>
              <col style="text-align: center; "/>
              <col style="text-align: center; "/>
              <col style="text-align: center; "/>
              <col style="text-align: center; "/>
              <col style="text-align: center; "/>
              <col style="text-align: center; "/>
              <col style="text-align: center; " class="lastvers"/>
            </colgroup>
            <thead>
              <tr>
                <th style="text-align: left; border-right: 2px solid ; ">
                 
            </th>
                <th style="text-align: center; border-bottom: 2px solid ; " colspan="12">
                <span class="bold"><strong>OpenGL Version</strong></span>
            </th>
              </tr>
              <tr>
                <th style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>Function / Feature Name</strong></span>
            </th>
                <th style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>2.0</strong></span>
            </th>
                <th style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>2.1</strong></span>
            </th>
                <th style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>3.0</strong></span>
            </th>
                <th style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>3.1</strong></span>
            </th>
                <th style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>3.2</strong></span>
            </th>
                <th style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>3.3</strong></span>
            </th>
                <th style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>4.0</strong></span>
            </th>
                <th style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>4.1</strong></span>
            </th>
                <th style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>4.2</strong></span>
            </th>
                <th style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>4.3</strong></span>
            </th>
                <th style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>4.4</strong></span>
            </th>
                <th style="text-align: center; border-bottom: 2px solid ; ">
                <span class="bold"><strong>4.5</strong></span>
            </th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                  <code class="function">glTexStorage2D</code>
                </td>
                <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">-</td>
                <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">-</td>
                <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">-</td>
                <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">-</td>
                <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">-</td>
                <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">-</td>
                <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">-</td>
                <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">-</td>
                <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">✔</td>
                <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">✔</td>
                <td style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">✔</td>
                <td style="text-align: center; border-bottom: 2px solid ; ">✔</td>
              </tr>
              <tr>
                <td style="text-align: left; border-right: 2px solid ; ">
                  <code class="function">glTextureStorage2D</code>
                </td>
                <td style="text-align: center; border-right: 2px solid ; ">-</td>
                <td style="text-align: center; border-right: 2px solid ; ">-</td>
                <td style="text-align: center; border-right: 2px solid ; ">-</td>
                <td style="text-align: center; border-right: 2px solid ; ">-</td>
                <td style="text-align: center; border-right: 2px solid ; ">-</td>
                <td style="text-align: center; border-right: 2px solid ; ">-</td>
                <td style="text-align: center; border-right: 2px solid ; ">-</td>
                <td style="text-align: center; border-right: 2px solid ; ">-</td>
                <td style="text-align: center; border-right: 2px solid ; ">-</td>
                <td style="text-align: center; border-right: 2px solid ; ">-</td>
                <td style="text-align: center; border-right: 2px solid ; ">-</td>
                <td style="text-align: center; ">✔</td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <div class="refsect1" id="seealso">
        <h2>See Also</h2>
        <p>
            <a class="citerefentry" href="glTexImage2D.xhtml"><span class="citerefentry"><span class="refentrytitle">glTexImage2D</span></span></a>,
            <a class="citerefentry" href="glTexStorage1D.xhtml"><span class="citerefentry"><span class="refentrytitle">glTexStorage1D</span></span></a>,
            <a class="citerefentry" href="glTexStorage3D.xhtml"><span class="citerefentry"><span class="refentrytitle">glTexStorage3D</span></span></a>.
        </p>
      </div>
      <div class="refsect1" id="Copyright">
        <h2>Copyright</h2>
        <p>
            Copyright <span class="trademark"/>© 2011-2014 Khronos Group.
            This material may be distributed subject to the terms and conditions set forth in
            the Open Publication License, v 1.0, 8 June 1999.
            <a class="link" href="http://opencontent.org/openpub/" target="_top">http://opencontent.org/openpub/</a>.
        </p>
      </div>
    </div>
    <footer/>
  </body>
</html>
